package com.easygem.front.mapper;

import com.easygem.business.mapper.Mapper;
import com.easygem.common.model.front.CustomerFollow;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 肖智
 * @version 1.0
 * @Description TODO
 * @date 2024/12/30
 */
public interface CustomerFollowMapper extends tk.mybatis.mapper.common.Mapper<CustomerFollow>, Mapper<CustomerFollow> {
    List<CustomerFollow> getCustomerFollowListByClientId(Long clientId);
    Integer addCustomerFollow(CustomerFollow customerFollow);

    /**
     * 根据用户ID和当前时间得到提醒信息
     * @param userId ID
     * @return
     */
    List<CustomerFollow> selectCustomerFollowList(@Param("userId") Long userId);
}
